YayExtra\Classes\ProductPage D

Total Complexity 606
Dependencies 3
Dependents 2
Total lines 2,085
Lines of code 1,612
Logical lines of code 904
Comment lines 302
Methods 43
Properties 2

Methods 43

Method Rating Maintainability Complexity Lines of code
get_logic_action_result()
D
17
91 190
validate_option_fields()
D
17
73 226
add_extra_product_in_cart()
C
40 28 55
update_cart_option_item()
C
37 27 66
add_extra_product()
C
38 26 65
get_options_with_stock_in_cart()
C
38 26 65
add_cart_item_option_data()
C
35 25 79
get_option_field_data()
C
35 24 78
checkout_update_after_created_order()
C
39 24 63
display_option_on_orders_and_emails()
B
38 23 64
handle_after_cart_item_quantity_update()
B
45 22 37
display_option_on_cart_and_checkout()
B
37 20 67
handle_after_cart_item_removed()
B
46 20 35
get_option_set_of_product()
B
43 17 46
remove_extra_product_in_cart()
A
47 15 34
get_addition_cost_by_option()
A
48 14 33
handle_check_cart_items()
A
46 12 35
add_fee_discount_by_action()
A
48 12 31
get_file_upload_data()
A
52 12 24
add_options_field()
A
45 11 38
before_calculate_totals()
A
48 10 33
add_link_edit_option_field_in_minicart()
A
50 10 26
get_product_applies()
A
54 9 19
check_logic_action()
S
53 7 24
get_fee_discount_by_action()
S
54 7 21
has_edit_link_option_field()
S
58 5 17
get_all_option_of_product()
S
57 5 17
custom_mini_cart_item_class()
S
62 5 11
__construct()
S
49 3 28
custom_quantity_input_args()
S
65 4 9
is_edit_option_mode()
S
76 3 3
upload_directory_custom()
S
60 2 13
get_instance()
S
72 2 6
checkout_order_exception_after_created_order()
S
73 2 5
custom_cart_item_class()
S
70 2 6
handle_upload_file()
S
60 1 14
handle_upload_file_default()
S
63 1 12
handle_order_item_thumbnail()
S
82 1 3
print_global_style()
S
91 1 2
handle_cart_item_thumbnail()
S
82 1 3
after_add_to_cart_form()
S
78 1 3
before_add_to_cart_form()
S
78 1 3
change_add_to_cart_text()
S
79 1 3